#region Microsoft Public License
/*
 * (c) Copyright Chenjun Wu. http://utablesdk.codeplex.com
 * 
 * This source is subject to the Microsoft Public License (Ms-PL).
 * Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
 * All other rights reserved.
 */
#endregion

﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UTable.ObjectManager.Commands;

namespace UTable.ObjectManager
{
    public class GOMCommunicatorImpl: IGOMCommunicator
    {
        public IGlobalObjectManager GlobalObjectManager { get; set; }

        #region IGOMCommunicator Members

        public void SendCommand(ICommand cmd)
        {
            List<ICommand> cmds = new List<ICommand>();
            cmds.Add(cmd);
            GlobalObjectManager.PutCommands(cmds);
        }

        #endregion
    }
}
